package Java多线程技术.第3章.一生产一消费;

public class C {

    private MyStack myStack;

    public C(MyStack myStack) {
        this.myStack = myStack;
    }


    public void popService(){
        System.out.println(myStack.pop());

    }
}
